package org.shiwen.week8;

public class FinalMethod {
    public final void show(){
        System.out.println("测试");
    }
}

class SubFinal extends FinalMethod{

    // 子类不能重写父类的final方法
//    public void show(){
//        System.out.println("子类");
//    }
}
